package com.example.testrest;

import java.io.IOException;

import org.restlet.resource.ClientResource;
import org.restlet.resource.ResourceException;

import restlet.interfaces.UserResourceI;

public class TestUser {

	public static void main(String[] args) throws ResourceException,
			IOException {

		ClientResource cr = new ClientResource(
				"http://localhost:8080/rest/user/asd/123");
		UserResourceI uresResourceI = cr.wrap(UserResourceI.class);
		System.out.println(uresResourceI.logIn());
	}

}
